package com.micro.service;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;


@EnableFeignClients
@SpringCloudApplication
@EnableHystrixDashboard
public class ConsumerApplication {
    public static void main(String[] args) {
//    页面: http://localhost:port/hystrix
//    监控url: http://localhost:port/actuator/hystrix.stream
        SpringApplication.run(ConsumerApplication.class, args);
    }
}
